package 接口;

public class dayinji {
    mohe he;//墨盒
    zhizhang zhang;//纸张

    public dayinji(mohe he,zhizhang zhang){
        this.he=he;
        this.zhang=zhang;

    }
    public void dayin(){
        System.out.println("在"+zhang.zhi()+"上使用"+he.mo()+"打印");
    }
}
